
$(document).ready(function(){
		var y_mouse = 0;
		$("a").mouseover(function(){
			$(this).addClass("a-hover");
		}).mouseout(function(){
			$(this).removeClass("a-hover");
		});
		
		$("ul").mousemove(function(e){
			var top_menu = $(this).offset().top-(y_mouse-e.pageY);
			$(this).animate({top: top_menu}, {queue:false, duration:800});	
		}).mouseenter(function(e){
			y_mouse = e.pageY;
		}).mouseleave(function(e){
			y_mouse = 0;
		});	
});
